import request from '@/utils/request'

// 查询患者医保--审核通过列表
export function listPasses(query) {
  return request({
    url: '/audit/passes/list',
    method: 'get',
    params: query
  })
}

// 查询患者医保--审核通过详细
export function getPasses(id) {
  return request({
    url: '/audit/passes/' + id,
    method: 'get'
  })
}

// 新增患者医保--审核通过
export function addPasses(data) {
  return request({
    url: '/audit/passes',
    method: 'post',
    data: data
  })
}

// 修改患者医保--审核通过
export function updatePasses(data) {
  return request({
    url: '/audit/passes',
    method: 'put',
    data: data
  })
}

// 删除患者医保--审核通过
export function delPasses(id) {
  return request({
    url: '/audit/passes/' + id,
    method: 'delete'
  })
}
